﻿@{
    ViewBag.Title = "登陆";
    ViewBag.Page = "user";
    ViewBag.HeaderMenu = "persion";
    Layout = "~/Views/Shared/_LLayout.cshtml";
}
@section HeadCss
{
    <link href="../../images/images/style.css" rel="stylesheet" type="text/css" />
    <link href="../../images/images/user.css" rel="stylesheet" type="text/css" />
}
@section HeadJavaScript{
    <script src="~/Scripts/angular/base/angular.min.js" type="text/javascript"></script>
    <!--[if (IE 6)|(IE 7)]><script src="~/Scripts/angular/base/json2.js" type="text/javascript"></script><![endif]-->
    <script src="~/Scripts/angular/js/login.js" type="text/javascript"></script>
    <script type="text/javascript" src="~/Scripts/angular/base/angular.autoload.js"></script>
}  
<div id="main">
    <div class="left">
        
        <div class="type">
			<form name="form" on-submit="submit()" onsubmit="return false;" ng-controller="LoginCtrl" ng-init="load({
                name:{msg:'由6~16位位字母或数字组成,不区分大小写', pattern: '帐号格式错误!!',error:'账号长度为6-16位字符',success:true},
                password:{msg:'密码长度应为6-14个字符',pattern: '密码格式错误!!',error:'密码长度应为6-14个字符',success:true},
                verifyvalue: { msg:'请输入图片显示的数字或字母',error: '请正确填写验证码',success:true},
                submit:{error:'系统异常，请联系我们',verifycode:'验证码错误',account:'对不起，您输入的账号或密码有误',identity:'服务器繁忙，请稍后再试'}
            });
            submit.url='/account/login/r/Default';
            ">
				<div class="d1">
					@*<label class="label">通行证账号 ：<span class="ftx04">*</span></label>*@
                    <input class="text238" autocomplete="off" type="text" name="name" ng-init="name.input()" on-focus="name.input()" on-blur="name.validate();" ng-model="name.value" ng-pattern="/^[a-zA-Z0-9]*$/" ng-minlength="6" ng-maxlength="16" required/>

				</div>
				<div class="d2">
                    <label class="note" ng-show="!(name.error||name.success)&&name.msg" style="display:none">{{name.msg}}</label>
					<label class="error" ng-show="name.error" style="display:none">{{name.error}}</label>
                    <label ng-show="name.success" style="display:none">&nbsp;</label>
				</div>
				<div class="d1">
					@*<label class="label">密码输入：<span class="ftx04">*</span></label>*@
                    <input class="text238" type="password" name="password" ng-init="password.input()" on-focus="password.input()" on-blur="password.validate();" ng-model="password.value" ng-pattern="password.pattern" ng-minlength="6" ng-maxlength="14" required/>
				</div>
				<div class="d2">
					
					<label class="note" ng-show="!(password.error||password.success)&&password.msg" style="display:none">{{password.msg}}</label>
					<label class="error" ng-show="password.error" style="display:none">{{password.error}}</label>
                    <label ng-show="password.success" style="display:none">&nbsp;</label>
				</div>
				<div class="d1">
					@*<label class="label">验证码输入：<span class="ftx04">*</span></label>*@
                    <input class="text238" type="text" name="verifyvalue" ng-init="verifyvalue.input()" on-focus="verifyvalue.input()" on-blur="verifyvalue.validate();" ng-model="verifyvalue.value" ng-pattern="verifyvalue.pattern" ng-minlength="4" ng-maxlength="4" required/>

				</div>
				<div class="d2">
					
					<label class="note" ng-show="!(verifyvalue.error||verifyvalue.success)&&verifyvalue.msg" style="display:none">{{verifyvalue.msg}}</label>
					<label class="error" ng-show="verifyvalue.error" style="display:none">{{verifyvalue.error}}</label>
                    <label ng-show="verifyvalue.success" style="display:none">&nbsp;</label>
				</div>
				<div class="d1">
					@*<label class="label">验证码图片：<span class="ftx04">*</span></label>*@
					<label><img ng-src="{{verifycode.value}}" ng-click="verifycode.newdefault()"/></label>
					<label class="next"> <a ng-click="verifycode.newdefault()" class="fresh">看不清楚，换一张</a></label>
				</div>
                <div class="d2">
					<label class="error" style="display:none" ng-show="submit.error">{{submit.error}}</label>
				</div>
				<div class="d3">
					<input type="submit" value="" class="user_login"/>
					<label class="forg">&nbsp;<a href="/usercenter/Step1">忘记密码？</a></label>
				</div>
				<div class="d4">
					
					<label class="regNow">还没有赤橙通行证 <a href="/usercenter/Normal">立即注册</a></label>
				</div>
				<div class="clear"></div>
			</form>
		</div>
        
        
        
            	
    </div>
    <div class="right">
        <div class="ro1">
        <ul>
            <li>
                <img src="~/images/images/user_top4.jpg" border="0" usemap="#Map" />
                <map name="Map" id="Map">
                    <area shape="rect" coords="95,138,234,178" href="/usercenter/normal" title="通行证注册" />
                </map>
            </li>
            <li>
                <img src="~/images/images/user_top5.jpg" border="0" usemap="#Map2" />
                <map name="Map2" id="Map2">
                    <area shape="rect" coords="97,136,233,179" href="/usercenter/mobile" title="手机注册" />
                </map>
            </li>
        </ul>

        </div>
        <div class="ro2">
            <img src="~/images/images/user_top6.jpg" border="0" usemap="#Map3" />
            <map name="Map3" id="Map3">
                <area shape="rect" coords="84,83,174,108" href="/usercenter/normal" title="立即注册" />
                <area shape="rect" coords="292,84,383,109" href="/usercenter/step1" title="密码找回" />
                <area shape="rect" coords="497,84,565,110" href="/recharge/step1" title="账号充值" />
                <area shape="rect" coords="573,84,640,110" href="#" title="客服中心" />
            </map>
        </div>
    </div>
</div>

